package hmis.pos.sys.repository;

import hmis.pos.Base.BaseRepository.BaseRepository;
import hmis.pos.sys.entity.SysUserEntity;

import java.util.Optional;

public interface SysUserRepository extends BaseRepository<SysUserEntity> {

    /**
     * 通过用户名查找
     * @param username
     * @return
     */
    Optional<SysUserEntity> findByUsername(String username);

}
